js-of-ocaml software package provides OCaml bytecode to JavaScript compiler (compiler), you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install js-of-ocaml
js-of-ocaml is installed in your system.
Make ensure the js-of-ocaml package were installed using the commands given below,
$ sudo dpkg-query -l | grep js-of-ocaml *
You will get with js-of-ocaml package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Ocaml |
| Package | js-of-ocaml |
| Version | 2.5-2 |
| Description | OCaml bytecode to JavaScript compiler (compiler) |
| Sub Section | Ocaml |